Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Lotus Script to JavaScript
Feedback Type: Question
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

Hi,

I sorry to ask this question, but I am in need of a little assistance..

I have developed the following Lotus Script for a Query Save event on a form which does work really well, however I would really like it to work on the onBlur event of a field but I don't know JavaScript...


Dim futuredate As NotesDateTime
Set futuredate = New NotesDateTime( "Today" )
Call futuredate.AdjustYear (2)

Msgbox futuredate.DateOnly
Msgbox source.FieldGetText("CessationDate")

If source.FieldGetText("CessationDate") > futuredate.DateOnly Then
Msgbox "Please check the date you have entered. If correct please add a comment as to why?", 16, "Date Validation Error"
End If


Does anyone know if it is possible to produce the same code in JavaScript? And if so can you start me off?

Thanks in advance,

Darren


Feedback number WEBB8AEKRG created by ~Andy Xanluakoi on 10/20/2010

Status: Closed
Comments: I am feeling really stupid now.. just found the option to change the onBlur to LotusScript.. :(

Lotus Script to JavaScript (~Andy Xanluakoi... 20.Oct.10)
. . Why not use LotusScript with onBlur... (~Tip Zekjumitex... 20.Oct.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS